<script>
import parent from "./components/parent.vue";

export default {
  components: {
    parent
  }
}
</script>

<template>
  <div>父组件可以向子组件传递数据，但子组件不能向父组件传递数据</div>
  <hr>
  <parent />
</template>

<style scoped></style>